    //
//  FullImageViewController.m
//  SecretFolder
//
//  Created by Deepak Kumar on 10/07/12.
//  Copyright 2012 Frog. All rights reserved.
//

#import "FullImageViewController.h"


@implementation FullImageViewController
@synthesize mImageView;


// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
}

- (void) setFullUmageView:(UIImage *)pImg
{
	[self.mImageView setImage:pImg];
}

- (IBAction) closeView:(id)sender
{
	[self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Overriden to allow any orientation.
    return UIInterfaceOrientationIsLandscape(interfaceOrientation);
}


- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc. that aren't in use.
}


- (void)viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
	self.mImageView = nil;
}




@end
